<st #st [scroll]="{ y: '100%' }" [size]="TABLE_PARAMETER.size" [columns]="stColumns" [data]="tableData"
  [loading]="loading" [bordered]="true" [ps]="TABLE_PARAMETER.ps" [pi]="TABLE_PARAMETER.pi"
  [total]="TABLE_PARAMETER.page.total" [multiSort]="TABLE_PARAMETER.multiSort" [page]="TABLE_PARAMETER.page"
  (change)="change($event)">
  <ng-template st-row="number" let-row let-index="index">
    {{ ((st.pi ? st.pi : 1) - 1) * (st.ps ? st.ps : 0) + (index + 1) }}
  </ng-template>
  <ng-template st-row="operations" let-row let-index="index">
    <ng-container>
      <a (click)="onUpdate(row)" *ngIf="!row.isCorrect">批改</a>
      <a (click)="view(row)" *ngIf="row.isCorrect">查看</a>
    </ng-container>
    <ng-container *ngIf="row.isCorrect">
      <nz-divider nzType="vertical"></nz-divider>
      <a (click)="modify(row)">修改成绩</a>
    </ng-container>
  </ng-template>
</st>
<!-- 新建或修改 -->
<app-score-entry-detail #scoreEntryDetailComponent (notification)="loadData()">
</app-score-entry-detail>
